package de.iritgo.skillfull.config;

import java.util.HashMap;

public class ConfigManagerImpl implements ConfigManager 
{
	private HashMap<String, Boolean> functions = new HashMap<String, Boolean> ();
	
	public boolean functionActive(String function) 
	{
		Boolean active = functions.get (function);
		return active == null ? false : active;
	}

	@Override
	public void setFunction(String function, boolean active) 
	{
		functions.put (function, active);
	}
}
